home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 65 6e 67 | 2e 63 6f 6e 76 65 78 2e |news.eng|.convex.|
|00000030| 63 6f 6d 21 61 72 63 6f | 21 75 73 65 6e 65 74 0a |com!arco|!usenet.|
|00000040| 46 72 6f 6d 3a 20 42 72 | 69 61 6e 20 4c 65 61 63 |From: Br|ian Leac|
|00000050| 68 20 3c 6c 61 73 62 66 | 6c 40 61 61 69 2e 61 72 |h <lasbf|l@aai.ar|
|00000060| 63 6f 2e 63 6f 6d 3e 0a | 53 75 62 6a 65 63 74 3a |co.com>.|Subject:|
|00000070| 20 52 65 3a 20 72 65 77 | 69 6e 64 28 20 29 20 65 | Re: rew|ind( ) e|
|00000080| 71 75 69 76 61 6c 65 6e | 74 20 69 6e 20 43 2b 2b |quivalen|t in C++|
|00000090| 20 3f 0a 58 2d 4e 6e 74 | 70 2d 50 6f 73 74 69 6e | ?.X-Nnt|p-Postin|
|000000a0| 67 2d 48 6f 73 74 3a 20 | 31 33 36 2e 32 32 36 2e |g-Host: |136.226.|
|000000b0| 31 31 36 2e 31 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |116.1.Co|ntent-Ty|
|000000c0| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|000000d0| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|000000e0| 0a 54 6f 3a 20 77 69 6c | 6c 69 61 6d 20 65 62 65 |.To: wil|liam ebe|
|000000f0| 72 6c 65 20 3c 77 69 6c | 65 40 69 78 2e 6e 65 74 |rle <wil|e@ix.net|
|00000100| 63 6f 6d 2e 63 6f 6d 3e | 0a 4d 65 73 73 61 67 65 |com.com>|.Message|
|00000110| 2d 49 44 3a 20 3c 33 31 | 36 34 31 30 46 46 2e 35 |-ID: <31|6410FF.5|
|00000120| 41 42 39 40 61 61 69 2e | 61 72 63 6f 2e 63 6f 6d |AB9@aai.|arco.com|
|00000130| 3e 0a 53 65 6e 64 65 72 | 3a 20 75 73 65 6e 65 74 |>.Sender|: usenet|
|00000140| 40 6e 65 77 73 2e 61 72 | 63 6f 2e 63 6f 6d 0a 43 |@news.ar|co.com.C|
|00000150| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000160| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 4f |Encoding|: 7bit.O|
|00000170| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 41 52 43 |rganizat|ion: ARC|
|00000180| 4f 20 41 6c 61 73 6b 61 | 20 49 6e 63 2e 0a 52 65 |O Alaska| Inc..Re|
|00000190| 66 65 72 65 6e 63 65 73 | 3a 20 3c 34 68 6f 38 73 |ferences|: <4ho8s|
|000001a0| 76 24 31 6d 34 40 63 61 | 6c 76 69 6e 2e 72 69 73 |v$1m4@ca|lvin.ris|
|000001b0| 71 2e 71 63 2e 63 61 3e | 20 3c 34 6a 65 6a 32 35 |q.qc.ca>| <4jej25|
|000001c0| 24 68 32 68 40 6e 65 77 | 73 2e 72 77 74 68 2d 61 |$h2h@new|s.rwth-a|
|000001d0| 61 63 68 65 6e 2e 64 65 | 3e 20 3c 34 6a 66 76 6e |achen.de|> <4jfvn|
|000001e0| 61 24 6c 63 6d 40 64 66 | 77 2d 69 78 6e 65 77 73 |a$lcm@df|w-ixnews|
|000001f0| 32 2e 69 78 2e 6e 65 74 | 63 6f 6d 2e 63 6f 6d 3e |2.ix.net|com.com>|
|00000200| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000210| 2e 30 0a 44 61 74 65 3a | 20 54 68 75 2c 20 34 20 |.0.Date:| Thu, 4 |
|00000220| 41 70 72 20 31 39 39 36 | 20 31 38 3a 31 32 3a 31 |Apr 1996| 18:12:1|
|00000230| 35 20 47 4d 54 0a 58 2d | 4d 61 69 6c 65 72 3a 20 |5 GMT.X-|Mailer: |
|00000240| 4d 6f 7a 69 6c 6c 61 20 | 32 2e 30 20 28 58 31 31 |Mozilla |2.0 (X11|
|00000250| 3b 20 49 3b 20 48 50 2d | 55 58 20 41 2e 30 39 2e |; I; HP-|UX A.09.|
|00000260| 30 35 20 39 30 30 30 2f | 37 35 35 29 0a 0a 77 69 |05 9000/|755)..wi|
|00000270| 6c 6c 69 61 6d 20 65 62 | 65 72 6c 65 20 77 72 6f |lliam eb|erle wro|
|00000280| 74 65 3a 0a 3e 20 0a 3e | 20 49 27 76 65 20 6f 70 |te:.> .>| I've op|
|00000290| 65 6e 65 64 20 61 20 66 | 69 6c 65 20 66 6f 72 20 |ened a f|ile for |
|000002a0| 72 65 61 64 69 6e 67 2e | 20 41 66 74 65 72 20 69 |reading.| After i|
|000002b0| 74 20 68 61 73 20 62 65 | 65 6e 20 72 65 61 64 2c |t has be|en read,|
|000002c0| 20 69 74 20 77 69 6c 6c | 20 6e 65 65 64 20 74 6f | it will| need to|
|000002d0| 0a 3e 20 62 65 20 72 65 | 2d 72 65 61 64 20 66 72 |.> be re|-read fr|
|000002e0| 6f 6d 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |om the b|eginning|
|000002f0| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 2e 20 49 6e | of the |file. In|
|00000300| 20 43 2c 20 49 20 77 6f | 75 6c 64 20 75 73 65 20 | C, I wo|uld use |
|00000310| 74 68 65 0a 3e 20 22 72 | 65 77 69 6e 64 22 20 66 |the.> "r|ewind" f|
|00000320| 75 6e 63 74 69 6f 6e 2e | 20 57 68 61 74 20 69 73 |unction.| What is|
|00000330| 20 74 68 65 20 43 2b 2b | 20 65 71 75 69 76 61 6c | the C++| equival|
|00000340| 65 6e 74 3f 20 20 54 68 | 61 6e 6b 20 79 6f 75 2e |ent? Th|ank you.|
|00000350| 0a 0a 0a 49 66 20 79 6f | 75 20 61 72 65 20 75 73 |...If yo|u are us|
|00000360| 69 6e 67 20 74 68 65 20 | 73 74 64 69 6f 20 66 75 |ing the |stdio fu|
|00000370| 6e 63 74 69 6f 6e 73 2c | 20 69 74 20 69 73 20 73 |nctions,| it is s|
|00000380| 74 69 6c 6c 20 72 65 77 | 69 6e 64 28 29 2e 20 49 |till rew|ind(). I|
|00000390| 66 0a 79 6f 75 20 61 72 | 65 20 75 73 69 6e 67 20 |f.you ar|e using |
|000003a0| 66 69 6c 65 20 73 74 72 | 65 61 6d 73 2c 20 75 73 |file str|eams, us|
|000003b0| 65 3a 0a 0a 20 20 66 73 | 74 72 65 61 6d 20 66 73 |e:.. fs|tream fs|
|000003c0| 74 72 3b 0a 20 20 66 73 | 74 72 2e 6f 70 65 6e 28 |tr;. fs|tr.open(|
|000003d0| 2e 2e 2e 29 3b 0a 20 20 | 2e 2e 2e 2e 20 2f 2f 20 |...);. |.... // |
|000003e0| 64 6f 20 73 6f 6d 65 20 | 73 74 75 66 66 20 0a 20 |do some |stuff . |
|000003f0| 20 66 73 74 72 2e 73 65 | 65 6b 70 6f 73 28 30 29 | fstr.se|ekpos(0)|
|00000400| 3b 0a 0a 2d 42 72 69 61 | 6e 20 3a 2d 29 0a |;..-Bria|n :-). |
+--------+-------------------------+-------------------------+--------+--------+